

var index = 0;
function swipt(){
    index ++;
    if(index>1){
        index = 0
    }
    var img = document.getElementById("imgsw")
    img.src = '/images/center_img/c_swipt'+index+'.png';
}

setInterval(swipt,2000)